Data Plane Development KIT (DPDK): A Software Optimization Guide to the User Space-based Network Applications by Heqing Zhu

Data Plane Development KIT (DPDK): A Software Optimization Guide to the User Space-based Network Applications by Heqing Zhu

Author:Heqing Zhu
Language: eng
Format: epub, pdf
Publisher: CRC Press
Published: 2020-09-22T12:00:00+00:00


7.1.3 HYBRID MODE

Internet traffic has the tidal effects; sometimes, it beats with human activities; the network traffic may be very low at certain times. For example, after midnight, a low-load scenario will occur on the high-speed network system at some locations. If the busy poll mode is enabled, the core can run at full speed. In reality, this may waste the computing cycles and it doesn’t save energy and money. Therefore, the hybrid of interrupt and poll modes is also introduced in DPDK.

HIP (hybrid interrupt poll) is given in DPDK example “l3fwd-power”. Its design framework is described below (Figure 7.1):

FIGURE 7.1 Hybrid model (poll and interrupt).

The DPDK application creates a polling thread, which runs in the busy poll mode to check if any packets need to be received. By default, the interrupt is turned off.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.